export const TreeNode = [
  {
    title: "基础地理",
    key: "01",
    checked: true,
    children: [
      {
        title: "灌域",
        key: "0300",
        isLeaf: true,
        layerName: "view_guanyu",
        type: "polygon",
        checked: true,
        zIndex: 2,
        fillOpacity: 0.2,
        icon: 'icon-guanyu'
      },
      {
        title: "渠道",
        key: "0302",
        isLeaf: true,
        checked: true,
        layerName: 'ganqu-yjq',
        type: "polyline",
        fillColor: "#0078ff",
        strokeColor: "#0078ff",
        width: 5,
        icon: "icon-trunk",
        zIndex: 4
      }
    ]
  },
  // {
  //   title: "取水口",
  //   key: "08",
  //   children: [
  //     {
  //       title: "农业取水口",
  //       key: "0811",
  //       isLeaf: true,
  //       layerName: "view_wiu_nyjc",
  //       declutter: true,
  //       type: "point",
  //       icon: 'icon-nyqsk',
  //       textColor: "#4e5183"
  //       // textColor: "#eb6623"
  //     },
  //     {
  //       title: "混合取水口",
  //       key: "0813",
  //       isLeaf: true,
  //       layerName: "view_wiu_hhjc",
  //       declutter: true,
  //       type: "point",
  //       icon: 'icon-hhqsk',
  //       textColor: "#4e5183"
  //     }
  //   ]
  // },
  {
    title: "黄河重点断面",
    key: "0303",
    isLeaf: true,
    checked: true,
    layerName: 'view_hh',
    declutter: true,
    type: "point",
    icon: "icon-hhdm",
    textColor: "#4e5183",
    filterName: 'Canal_Code'
  },
  // 干渠引水
  {
    title: "干渠引水口",
    key: "0318",
    isLeaf: true,
    checked: true,
    layerName: "view_zygq",
    declutter: true,
    type: "point",
    icon: "icon-qddm",
    // textColor: "#e3696b",
    textColor: '#4e5183',
    filterName: 'Canal_Code'
  },
  // 干沟排水
  {
    title: "骨干排水沟",
    key: "0319",
    isLeaf: true,
    layerName: 'view_zypsg',
    declutter: true,
    type: "point",
    icon: "icon-psgdm",
    textColor: "#4e5183",
    filterName: 'Canal_Code'
  },
  // 渠首闸门
  {
    // 水闸类别 引水闸1  分水闸2 泄水闸3 节制闸4  冲沙闸5  退水闸6  直开口7其他9
    title: "重点大闸监控",
    key: "0306",
    isLeaf: true,
    checked: false,
    layerName: "view_zyzm",
    declutter: true,
    type: "point",
    icon: "icon-gate",
    textColor: "#4e5183"
  },
  // 首级泵站
  // {
  //   title: "首级泵站",
  //   key: "0309",
  //   isLeaf: true,
  //   checked: true,
  //   layerName: "view_zybz",
  //   declutter: true,
  //   type: "point",
  //   icon: "icon-pump",
  //   textColor: "#4e5183"
  // },
  {
    title: "常用雨量站",
    key: "0212",
    isLeaf: true,
    layerName: "view_cyylz",
    declutter: true,
    type: "point",
    icon: 'icon-ylz',
    textColor: '#4e5183',
    // textColor: "#00945f",
    filterName: 'Canal_Code'
  },
  {
    title: "工业取水口",
    key: "0810",
    isLeaf: true,
    checked: false,
    layerName: "view_wiu_gyjc",
    declutter: true,
    type: "point",
    icon: 'icon-gyqsk',
    textColor: "#4e5183"
    // textColor: "#eb6623"
  },
  {
    title: "生活取水口",
    key: "0812",
    isLeaf: true,
    layerName: "view_wiu_shjc",
    declutter: true,
    type: "point",
    icon: 'icon-shqsk',
    textColor: "#4e5183"
  }
];
